package com.zhu.shop.app.feign;

import com.zhu.shop.common.Vo.Result;
import com.zhu.shop.common.Vo.user.UserVo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("shop-user")
public interface ShopUserFeign {
    @GetMapping("/user/findUser/{id}")
    public Result<UserVo> findUser(@PathVariable("id")Long id);
}
